; _________________________________________________
;| Omni-Psych Super Dizzy [LE] Version 3  by Seven |
; ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
 ;===============================================================================
;                    Version  3  THE Challenge Edition
;===============================================================================
;=====The Number's Next to the constant's are optional Versions of [LE]=========
;===============================================================================
;==And For Those Who Wish To Seek The Hardest Challenge, Use Her Optional Stats=
;===============================================================================

;===============================================================================
;===============================<Command List>==================================
;===============================================================================

;===============================<BUTTON REMAPPING>==============================
[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s


;===============================<DEFAULT VALUES>================================
[Defaults]
command.time=25
command.buffer.time=1



;================================<Super Motions>================================
[Command]
name = "Wings Of Light"
command = ~D, B, D, B, x
time = 25

[Command]
name = "Wings Of Light"
command = ~D, B, D, B, y
time = 25

[Command]
name = "Wings Of Light"
command = ~D, B, D, B, z
time = 25

[Command]
name = "Omni-Burst"
command = ~B, DB, D, DF, F, B, DB, D, DF, F, a
time = 55

[Command]
name = "Omni-Burst"
command = ~B, DB, D, DF, F, B, DB, D, DF, F, b
time = 55

[Command]
name = "Omni-Burst"
command = ~B, DB, D, DF, F, B, DB, D, DF, F, c
time = 55


[Command]
name = "Omni-Freeze"
command = ~B, DB, D, DF, F, B, DB, D, DF, F, x
time = 55

[Command]
name = "Omni-Freeze"
command = ~B, DB, D, DF, F, B, DB, D, DF, F, y
time = 55

[Command]
name = "Omni-Freeze"
command = ~B, DB, D, DF, F, B, DB, D, DF, F, z
time = 55


[Command]
name = "Angel Slice"
command = ~F, DF, D, DB, B, F, DF, D, DB, B, a
time = 55

[Command]
name = "Angel Slice"
command = ~F, DF, D, DB, B, F, DF, D, DB, B, b
time = 55

[Command]
name = "Angel Slice"
command = ~F, DF, D, DB, B, F, DF, D, DB, B, c
time = 55

[Command]
name = "Hyper Laser"
command = ~F, DF, D, DB, B, F, DF, D, DB, B, x
time = 55

[Command]
name = "Hyper Laser"
command = ~F, DF, D, DB, B, F, DF, D, DB, B, y
time = 55

[Command]
name = "Hyper Laser"
command = ~F, DF, D, DB, B, F, DF, D, DB, B, z
time = 55


[Command]
name = "Omni-Psych Tactical Strike"
command = ~D, F, D, F, x
time = 25

[Command]
name = "Omni-Psych Tactical Strike"
command = ~D, F, D, F, y
time = 25

[Command]
name = "Omni-Psych Tactical Strike"
command = ~D, F, D, F, z
time = 25

[Command]
name = "Omni-Dragon Flame"
command = ~D, B, D, B, a
time = 25

[Command]
name = "Omni-Dragon Flame"
command = ~D, B, D, B, b
time = 25

[Command]
name = "Omni-Dragon Flame"
command = ~D, B, D, B, c
time = 25

[Command]
name = "Omni-Psych"
command = ~D, F, D, F, a
time = 25

[Command]
name = "Omni-Psych"
command = ~D, F, D, F, b
time = 25

[Command]
name = "Omni-Psych"
command = ~D, F, D, F, c
time = 25

[Command]
name="Omni-Psych Shun Goku Satsu"
command=~x,x,F,a,z
time= 70

[Command]
name = "steel rain"
command = ~D, F, D, F, a
time = 25

[Command]
name = "steel rain"
command = ~D, F, D, F, b
time = 25

[Command]
name = "steel rain"
command = ~D, F, D, F, c
time = 25

[Command]
name="SuperDizzy"
command=~x,x,B,a,z
time= 70

[Command]
name="Regen"
command=D,D, s
time=25

[Command]
name="Omni-Psych Special"
command=D,F,D,F, s
time=25

;==============================<Special Motions>================================
[Command]
name="burst"
command= c+z
time = 1

[Command]
name = "bomb"
command = ~D, B, s
time = 10

[Command]
name = "Teleport2"
command = ~D, D, a
time = 10

[Command]
name = "Teleport2"
command = ~D, D, b
time = 10

[Command]
name = "Teleport2"
command = ~D, D, c
time = 10

[Command]
name = "Teleport"
command = ~D, D, x
time = 10

[Command]
name = "Teleport"
command = ~D, D, y
time = 10

[Command]
name = "Teleport"
command = ~D, D, z
time = 10

[Command]
name = "airbeam"
command = ~D, F, a
time = 25

[Command]
name = "airbeam2"
command = ~D, F, b
time = 25

[Command]
name = "airbeam3"
command = ~D, F, c
time = 25

[Command]
name = "Tri-Strike"
command = ~D, DF, F, y

[Command]
name = "Quadra Ice Flame"
command = ~D, DF, F, b

[Command]
name = "Mega Strike 1"
command = ~B, D, DB, y
[Command]
name = "Mega Strike 2"
command = ~B, D, DB, b

[Command]
name = "Rising Spin 1"
command =D, DB, B, c

[Command]
name = "Rising Spin 2"
command =D, DB, B, z

[Command]
name = "Fish Assault 1"
command = ~D, DB, B, x
[Command]
name = "Fish Assault 2"
command = ~D, DB, B, a
[Command]
name = "Fish Assault 3"
command = ~D, DB, B, y
[Command]
name = "Fish Assault 4"
command = ~D, DB, B, b

;===============================<Valiable>======================================
[Command]
name = "qcf_s"
command = ~D, DF, F, s
[Command]
name = "qcb_s"
command = ~D, DB, B, s
[Command]
name = "rqcb_s"
command = ~B, DB, D, s

[Command]
name = "megabeam"
command = ~D, DF, F, z

[Command]
name = "megabeam"
command = ~D, DF, F, x

[Command]
name = "laser"
command = ~D, DF, F, a

[Command]
name = "laser2"
command = ~D, DF, F, c

;==================================<Double Tap>=================================
[Command]
name = "FF"
command = F, F
time = 10
[Command]
name = "BB"
command = B, B
time = 10

;================================<Single Tap>===================================
[Command]
name = "bl1"
command = F
time = 1

[Command]
name = "bl2"
command = D
time = 1

[Command]
name = "up"
command = U
time = 1

[Command]
name = "down"
command = D
time = 1

[Command]
name = "back"
command = B
time = 1

[Command]
name = "fwd"
command = F
time = 1

[Command]
name = "start"
command = s
time = 1


;==============================<2/3 Combination>================================
[Command]
name = "recovery"
command = a
time = 1

[Command]
name = "recovery"
command = b
time = 1

[Command]
name = "recovery"
command = c
time = 1

[Command]
name = "recovery"
command = x
time = 1

[Command]
name = "recovery"
command = y
time = 1

[Command]
name = "recovery"
command = z
time = 1

[Command]
name = "roman"
command = x+y+z
time = -1
[Command]
name = "roman"
command = a+b+c
time = -1

[Command]
name="roll"
command=a+x
time=1




;===============================<Single Button>=================================
[Command]
name = "x"
command = x
time = 1
[Command]
name = "y"
command = y
time = 1
[Command]
name = "z"
command = z
time = 1
[Command]
name = "a"
command = a
time = 1
[Command]
name = "b"
command = b
time = 1
[Command]
name = "c"
command = c
time = 1
[Command]
name = "s"
command = s
time = 1

[Command]
name = "hold_x"
command = /x
time = 1
[Command]
name = "hold_y"
command = /y
time = 1
[Command]
name = "hold_z"
command = /z
time = 1
[Command]
name = "hold_a"
command = /a
time = 1
[Command]
name = "hold_b"
command = /b
time = 1
[Command]
name = "hold_c"
command = /c
time = 1
[Command]
name = "hold_s"
command = /s
time = 1

;===============================<Hold Direction>================================
[Command]
name = "holdfwd"
command = /$F
time = 10
[Command]
name = "holdback"
command = /$B
time = 10
[Command]
name = "holdup"
command = /$U
time = 10
[Command]
name = "holddown"
command = /$D
time = 10

;===============================<State Def -1>==================================
[Statedef -1]

[State -1, AIhelper]
type=changestate
trigger1= ishelper(9741)
value=9741

;===============================<State Moves>===================================
[State Omni-Dragon Flame]
type = ChangeState
value = 2200
triggerall = command = "Omni-Dragon Flame"
triggerall = power>= 3000
triggerall = roundstate = 2
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit


[State Omni-Psych Special]
type = ChangeState
value = 2600
triggerall = command = "Omni-Psych Special"
triggerall = power>= 3000
triggerall = var(55) = 0
triggerall = roundstate = 2
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit



[State Omni-Psych Tactical Strike]
type = ChangeState
value = 2050
triggerall = command = "Omni-Psych Tactical Strike"
triggerall = power>= 2000
triggerall = roundstate = 2
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Wings Of Light]
type = ChangeState
value = 2000
triggerall = command = "Wings Of Light"
triggerall = power>= 1000
triggerall = roundstate = 2
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Hyper Laser]
type=changestate
value= 2300
triggerall = power >= 2000
triggerall = command = "Hyper Laser"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State omni-psych]
type = ChangeState
value = 10000
triggerall = power >= 3000
triggerall = command = "Omni-Psych"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Angel Slice]
type=changestate
value= 2350
triggerall = power >= 1000
triggerall = command = "Angel Slice"
trigger1 = ctrl
trigger2 =(stateno = [200,520])&& movecontact

[State Omni-Freeze]
type=changestate
value= 2450
triggerall = power >= 1000
triggerall = command = "Omni-Freeze"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Omni-Burst]
type=changestate
value= 2400
triggerall = power >= 2000
triggerall = command = "Omni-Burst"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Omni-Psych Shun Goku Satsu]
type=changestate
value= 2070
triggerall = power >= 3000
triggerall = command = "Omni-Psych Shun Goku Satsu"
trigger1 = ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State bomb]
type=changestate
value= 1500
triggerall = command = "bomb"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State megabeam]
type=changestate
value= 3000
triggerall = command = "megabeam"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State steel rain]
type = ChangeState
value = 2080
triggerall = command = "steel rain"
triggerall = power >= 2000
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [600,660])&& movecontact

[State laser]
type=changestate
value= 1200
triggerall = command = "laser"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State laser]
type=changestate
value= 1212
triggerall = command = "laser2"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit


;------------------------------------------------------------------
[State Rising Spin]
type = ChangeState
value = 1300
triggerall = command = "Rising Spin 1"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Rising Spin]
type = ChangeState
value = 1350
triggerall = command = "Rising Spin 2"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Tri-Strike]
type = ChangeState
value = 1000
triggerall = command = "Tri-Strike"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit


[State Quadra Ice Flame]
type = ChangeState
value = 1050
triggerall = command = "Quadra Ice Flame"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Mega Strike]
type = ChangeState
value = 1100
triggerall = command = "Mega Strike 1" || command = "Mega Strike 2"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Fish Assault]
type = ChangeState
value = 1150
triggerall = command = "Fish Assault 1" || command = "Fish Assault 2" || command = "Fish Assault 3" || command = "Fish Assault 4"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit


[State Teleport]
type = ChangeState
value = 1400
triggerall = command = "Teleport"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit


[State Teleport2]
type = ChangeState
value = 1401
triggerall = command = "Teleport2"
trigger1 = statetype!= A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit


[State Teleport3]
type = ChangeState
value = 1402
triggerall = command = "Teleport"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit


[State Teleport4]
type = ChangeState
value = 1403
triggerall = command = "Teleport2"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [200,520])&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit


;------------------------------------------------------------------

[State roll/dodge]
type=changestate
value=ifelse(command="holdfwd",720,710)
trigger1=var(59)<=0&&roundstate=2&&(command="roll")&&statetype!=A
trigger1=ctrl


[State airbeam]
type = ChangeState
value = 3201
triggerall = command = "airbeam"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [600,660])&& movecontact

[State airbeam]
type = ChangeState
value = 3205
triggerall = command = "airbeam2"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [600,660])&& movecontact

[State airbeam]
type = ChangeState
value = 3206
triggerall = command = "airbeam3"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [600,660])&& movecontact

[State Regen]
type=changestate
value=760
trigger1=var(59)<=0&&roundstate=2&&(command="Regen")&&power>=1000&&!var(20)
trigger1 = statetype!= A && ctrl

[State Powercharge]
type=changestate
value=740
trigger1=var(59)<=0&&roundstate=2&&command="hold_b"&&command="hold_y"&&statetype!=A&&power<powermax&&ctrl&&!var(20)

[State Dead Angle Attack]
type = ChangeState
value = 910
triggerall = command = "holdfwd"
triggerall = power>= 1000 && roundstate = 2
triggerall = stateno = [150,153]
trigger1 = command="x" &&(command="a"||command="y"||command="b")
trigger2 = command="a" &&(command="y"||command="b")
trigger3 = command="y" && command="b"

[State (Force)Roman Cancell]
type = ChangeState
triggerall = command = "roman"
triggerall = power>= 100 && roundstate = 2
trigger1 = power>= 100 && hitdefattr = SCA,AA
trigger1 =(stateno!= [800,999])&& movehit
trigger2 = var(3) = 1 && stateno = 1000 && animelem = 4,[5,9]
trigger3 = stateno = 1300 && animelem = 3,[5,9]
value = 960

[State Psych Burst]
type = ChangeState
triggerall = fvar(10) = 1500
triggerall = command = "burst"
triggerall = roundstate = 2
trigger1 = ctrl
trigger2 =(stateno = [150,155])|| stateno = [5000,5109]
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit
value = 970

[State Super Dizzy]
type = ChangeState
value = 990
triggerall = power >= 2999
triggerall = numhelper(9100) = 0
triggerall = command= "SuperDizzy"
trigger1 = ctrl
trigger2 =(stateno = [200,520])&& movecontact

[State Faultless Defense]
type = ChangeState
triggerall = fvar(4) = 1
triggerall = power > 0 && roundstate = 2
trigger1 = ctrl
value = 120

[State Throw]
type = ChangeState
value = 800
triggerall = command = "b"
triggerall = command = "holdfwd" || command = "holdback"
triggerall = p2bodydist x < 5
trigger1 = p2statetype = S && p2movetype!= H
trigger1 = stateno!= 100
trigger1 = statetype = S && ctrl

[State Air Throw]
type = ChangeState
value = 820
triggerall = command = "b"
triggerall = command = "holdfwd"
triggerall = p2bodydist x < 20 && p2bodydist y = [-40,40]
triggerall = p2statetype = A
trigger1 = stateno!= [820,824]
trigger1 = statetype = A && ctrl

;------------------------------------------------------------------
[State Knock Up Attack]
type = ChangeState
value = 280
triggerall = command = "z"
triggerall = command!= "holddown"
trigger1 = statetype = S && ctrl
trigger2 =(stateno = [200,480])&& stateno!= 280
trigger2 = movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Knock Down Attack]
type = ChangeState
value = 480
triggerall = command = "z" || command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C && ctrl
trigger2 =(stateno = [200,480])&& stateno!= 280
trigger2 = movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Air Knock Up Attack]
type = ChangeState
value = 680
triggerall = command = "z" || command = "c"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [600,680])&& movecontact
trigger8 = stateno = 600 && movehit
trigger3 = stateno = 620 && movehit
trigger4 = stateno = 640 && movehit
trigger5 = stateno = 660 && movehit
trigger6 = stateno = 680 && movehit
trigger7 = stateno = 970 && movehit


;------------------------------------------------------------------
[State Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command!= "holddown"
triggerall = command!= "holdfwd"
trigger1 = statetype = S && ctrl || stateno = 101
trigger2 =(stateno = 200 || stateno = 400)&& movecontact
trigger21 = stateno = 200 && movehit
trigger3 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Close up light punch]
type = ChangeState
value = 210
triggerall = command = "x"
triggerall = command!= "holddown"
triggerall = command = "holdfwd"
trigger1 = statetype = S && ctrl || stateno = 101
trigger2 =(stateno = 200 || stateno = 220 || stateno = 240)&& movecontact
trigger3 =(stateno = [400,420])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Light Kick]
type = ChangeState
value = 220
triggerall = command = "a"
triggerall = command!= "holddown"
trigger1 = statetype = S && ctrl || stateno = 101
trigger2 = stateno = 200 && movecontact
trigger3 =(stateno = [400,420])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Close Medium Punch]
type = ChangeState
value = 240
triggerall = command = "y"
triggerall = command!= "holddown"
triggerall = p2bodydist x < 30
trigger1 = statetype = S && ctrl || stateno = 101
trigger2 =(stateno = [200,220])&& movecontact
trigger3 =(stateno = [400,420])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Medium Punch]
type = ChangeState
value = 250
triggerall = command = "y"
triggerall = command!= "holddown"
trigger1 = statetype = S && ctrl || stateno = 101
trigger2 =(stateno = [200,240])&& movecontact
trigger3 =(stateno = [400,420])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Medium Kick]
type = ChangeState
value = 260
triggerall = command = "b"
triggerall = command!= "holddown"
trigger1 = statetype = S && ctrl || stateno = 101
trigger2 =(stateno = [200,250])&& movecontact
trigger3 =(stateno = [400,440])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Hard Kick]
type = ChangeState
value = 270
triggerall = command = "c"
triggerall = command!= "holddown"
trigger1 = statetype = S && ctrl || stateno = 101
trigger2 = stateno = 200 && movecontact
trigger3 =(stateno = [400,420])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

;------------------------------------------------------------------
[State Crouch Jab]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C && ctrl || stateno = 101
trigger2 =(stateno = 200 || stateno = 400)&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Crouch Kick]
type = ChangeState
value = 420
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C && ctrl || stateno = 101
trigger2 =(stateno = 200 || stateno = 220)&& movecontact
trigger3 =(stateno = [400,410])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Medium Kick]
type = ChangeState
value = 440
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C && ctrl || stateno = 101
trigger2 =(stateno = [200,250])&& movecontact
trigger3 =(stateno = [400,420])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

[State Medium Punch]
type = ChangeState
value = 460
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C && ctrl || stateno = 101
trigger2 =(stateno = [200,250])&& movecontact
trigger3 =(stateno = [400,440])&& movecontact
trigger21 = stateno = 200 && movehit
trigger22 = stateno = 210 && movehit
trigger4 = stateno = 220 && movehit
trigger5 = stateno = 230 && movehit
trigger6 = stateno = 240 && movehit
trigger7 = stateno = 225 && movehit
trigger8 = stateno = 250 && movehit
trigger9 = stateno = 260 && movehit
trigger10 = stateno = 270 && movehit
trigger11 = stateno = 280 && movehit
trigger12 = stateno = 400 && movehit
trigger13 = stateno = 420 && movehit
trigger14 = stateno = 440 && movehit
trigger15 = stateno = 460 && movehit
trigger16 = stateno = 480 && movehit
trigger17 = stateno = 910 && movehit
trigger18 = stateno = 1000 && movehit
trigger19 = stateno = 1050 && movehit
trigger20 = stateno = 1100 && movehit
trigger21 = stateno = 1200 && movehit
trigger22 = stateno = 1212 && movehit
trigger23 = stateno = 1300 && movehit
trigger24 = stateno = 1350 && movehit
trigger25 = stateno = 1500 && movehit
trigger26 = stateno = 3000 && movehit
trigger27 = stateno = 3201 && movehit
trigger28 = stateno = 3205 && movehit
trigger29 = stateno = 3206 && movehit

;------------------------------------------------------------------
[State Air Light Kick]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = 600 || stateno = 620)&& movecontact
trigger8 = stateno = 600 && movehit
trigger3 = stateno = 620 && movehit
trigger4 = stateno = 640 && movehit
trigger5 = stateno = 660 && movehit
trigger6 = stateno = 680 && movehit
trigger7 = stateno = 970 && movehit


[State Air Light Punch]
type = ChangeState
value = 620
triggerall = command = "a"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [600,620])&& movecontact
trigger8 = stateno = 600 && movehit
trigger3 = stateno = 620 && movehit
trigger4 = stateno = 640 && movehit
trigger5 = stateno = 660 && movehit
trigger6 = stateno = 680 && movehit
trigger7 = stateno = 970 && movehit

[State Air Medium Kick]
type = ChangeState
value = 640
triggerall = command = "y"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [600,630])&& movecontact
trigger8 = stateno = 600 && movehit
trigger3 = stateno = 620 && movehit
trigger4 = stateno = 640 && movehit
trigger5 = stateno = 660 && movehit
trigger6 = stateno = 680 && movehit
trigger7 = stateno = 970 && movehit

[State Air Medium Punch]
type = ChangeState
value = 660
triggerall = command = "b"
trigger1 = statetype = A && ctrl
trigger2 =(stateno = [600,650])&& movecontact
trigger8 = stateno = 600 && movehit
trigger3 = stateno = 620 && movehit
trigger4 = stateno = 640 && movehit
trigger5 = stateno = 660 && movehit
trigger6 = stateno = 680 && movehit
trigger7 = stateno = 970 && movehit

;------------------------------------------------------------------
[State Dash Cancell]
type = ChangeState
value = 950
triggerall = fvar(0) = 0 && var(14) = 0
triggerall = command = "FF"
triggerall = command!= "holddown"
triggerall = statetype!= A
trigger1 =(stateno = [200,599])&& movecontact

[State Chase Jump]
type = ChangeState
value = 952
triggerall = fvar(14) = 0
triggerall = command = "holdup"
triggerall = enemynear,gethitvar(animtype) = 5
triggerall = movehit
trigger1 = stateno = 280 && animelem = 10,[0,9]

[State Jump Cancell]
type = ChangeState
value = 951
triggerall = var(14) < 2
triggerall = command = "holdup"
trigger1 =(stateno = [200,799])&& movehit

[State Hi Jump]
type = ChangeState
value = 42
trigger1 = command = "holdup"
trigger1 = stateno = 10

[State Air Dash]
type = ChangeState
value = 102
triggerall = var(14) < 2
triggerall = command = "FF" || command = "BB"
triggerall = stateno!= 45 && stateno!= 102 && pos y < -40
trigger1 = prevstateno!= 45
trigger1 = statetype = A && ctrl
trigger2 = prevstateno = 45 && stateno = 50 && time>= 10
trigger3 = stateno = 161 && time>= 5
trigger4 =(stateno = [600,799])&& movehit

[State Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = command!= "holddown"
trigger1 = statetype = S && ctrl

[State Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = command!= "holddown"
trigger1 = statetype = S && ctrl

[State Respect]
type = ChangeState
value = 197
trigger1 = command = "s"
trigger1 = command = "holdfwd"
trigger1 = statetype = S && ctrl

[State Taunt]
type = ChangeState
value = 195
triggerall = command = "s"
trigger1 = statetype = S && ctrl
trigger2 =(stateno = [200,480])&& movecontact

;===============================================================================
;=======================<Omni-Psych Super Dizzy [LE]>===========================
;==================================/AI\=========================================
;=================================\=3=/=========================================
;===========================The Challenge Edition===============================
;===============================================================================

[State -1, Omni-Psych Super Dizzy {LE} AI system]
type = changestate
triggerall = var(59) = 1 && random < 032
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 200

[State -1, AI]
type=changestate
value=105
trigger1= var(59)>=1
trigger1= roundstate=2 && statetype=S
trigger1= random < ifelse((enemynear,hitdefattr=SCA, NA, SA, HA, NP, SP, HP, NT, ST, HT, AA, AT, AP), 150, 50)
trigger1= ctrl && (stateno!=[100,106]) && (stateno!=[360,361])
trigger1=(enemynear,movetype=A) && backedgedist>=80 && (p2bodydist x=[80,120]) && (enemynear,vel x)

[State -1, AI]
type = ChangeState
triggerall = var(59) = 1 && roundstate = 2 && random<700
trigger1 = enemynear,movetype = A
trigger1 = p2bodydist x < const(size.attack.dist)/2
trigger1 = statetype!= A && ctrl
value = ifelse((enemynear,statetype=C),131,130)

[State -1, AI]
type = ChangeState
triggerall = var(59) = 1 && roundstate = 2 && random<700
trigger1 = enemynear,movetype = A
trigger1 = p2bodydist x < const(size.attack.dist)/2
trigger1 = statetype!= A && ctrl
value = ifelse((enemynear,statetype=S),131,130)

[State -1, AI]
type=changestate
value=120
trigger1= var(59)>=1
trigger1= roundstate=2 && (stateno!=[120,155])
trigger1= ctrl && inguarddist && (stateno!=[360,362])
trigger1=!(enemynear,hitdefattr=SCA, NA, SA, HA, NP, SP, HP, NT, ST, HT, AA, AT, AP)

[State -1, AI]
type=changestate
value=102
trigger1= var(59)>=1
trigger1= statetype=S && roundstate=2
trigger1= ctrl && (stateno!=[360,361]) && random<600
trigger1= (stateno!=[100,105]) && !inguarddist && p2bodydist x>120

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 130
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 210

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 133
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 220

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 135
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 230

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 136
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 240

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 132
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 250

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 132
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 260

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 134
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 270

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 133
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 280

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 130
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 400

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 139
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 420

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 133
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 440

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 137
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 460

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 130
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 480

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 142
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
trigger1 = ctrl
value = 600

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 141
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
trigger1 = ctrl
value =620

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 146
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
trigger1 = ctrl
value = 640

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 141
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
trigger1 = ctrl
value = 660



[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 146
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
trigger1 = ctrl
value = 680


[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 253
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1000

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 250
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1050

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 350
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1500

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 255
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1100

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 258
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1150

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 255
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1300

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 258
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1350

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 258
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1200

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 253
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1212

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 258
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 3000

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 258
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
trigger1 = ctrl
value =  3201

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 258
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
trigger1 = ctrl
value = 3205

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 258
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
trigger1 = ctrl
value = 3206

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 758
triggerall = p2bodydist x = [0,90]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 970

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 028
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 195

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 128
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 197


[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 228
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1400

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 228
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 1401

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 228
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,300]
trigger1 = ctrl
value = 1402

[State -1, AI]
type = changestate
triggerall = var(59) = 1 && random < 228
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,300]
trigger1 = ctrl
value = 1403

[State -1, AI]
type = changestate
triggerall = power >= 100
triggerall = var(59) = 1 && random < 528
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl
value = 960


[State -1, AI Power Charge]
type = changestate
triggerall = var(59) = 1 && random < 500
triggerall = p2bodydist x = [100,300]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl = 1
value = 740

[State -1, AI Power Charge]
type = changestate
triggerall = var(59) = 1 && random < 700
triggerall = p2bodydist x = [100,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <= 500
trigger1 = ctrl = 1
value = 740

[State -1, AI Dodge]
type = changestate
triggerall = var(59) = 1 && random < 670
triggerall = p2bodydist x = [0,150]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl = 1
value = 710

[State -1, AI Roll]
type = changestate
triggerall = var(59) = 1 && random < 770
triggerall = p2bodydist x = [0,150]
triggerall = p2bodydist y = [0,0]
trigger1 = ctrl = 1
value = 720



[State -1, Parry]
type = hitoverride
triggerall = var(59) = 1 && roundstate = 2 && random < 950
triggerAll = Statetype !=A
triggerAll = movetype !=H
triggerAll = Statetype = S
trigger1 = 1
attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
stateno = 360

[State -1, Parry]
type = hitoverride
triggerall = var(59) = 1 && roundstate = 2 && random < 950
triggerAll = Statetype !=A
triggerAll = statetype = C
trigger1 = 1
attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
stateno = 361

[State -1, Parry]
type = hitoverride
triggerall = var(59) = 1 && roundstate = 2 && random < 950
triggerAll = enemynear, Movetype = A
triggerall = StateType = A && P2Movetype = A
triggerall = movetype !=H
trigger1 = 1
attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
stateno = 362

[State -1, AI Burst Parry]
type = hitoverride
triggerall = var(59) = 1 && random < 400
triggerAll = enemynear, Movetype = A
triggerall = StateType = A && P2Movetype = A
trigger1 = 1
attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
reversal.attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
stateno = 970

[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 050
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,300]
triggerall = power >= 1000
triggerall = life >= 401
trigger1 = ctrl
value = 2350

[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 001
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,300]
triggerall = power >= 1000
triggerall = life <= 400
trigger1 = ctrl
value = 2350

[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 001
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <= 400
triggerall = power >= 1000
trigger1 = ctrl
value = 2350

[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 050
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life >= 401
triggerall = power >= 1000
trigger1 = ctrl
value = 2350

[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 100
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life >= 401
triggerall = power >= 1000
trigger1 = ctrl
value = 2000

[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 020
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <= 400
triggerall = power >= 1000
trigger1 = ctrl
value = 2000

[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 010
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life >=401
triggerall = power >= 1000
trigger1 = ctrl
value = 2450

[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 030
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <= 900
triggerall = power >= 1000
trigger1 = 1
value = 760

[State -1, AI Super Level 1]
type = changestate
triggerall = numhelper(9100) = 1
triggerall = var(59) = 1 && random < 650
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <= 500
triggerall = life >= 250
triggerall = power >= 1000
trigger1 = 1
value = 760


[State -1, AI Super Level 1]
type = changestate
triggerall = var(59) = 1 && random < 020
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <=400
triggerall = power >= 1000
trigger1 = ctrl
value = 2450

[State -1, AI Super Level 2]
type = changestate
triggerall = var(59) = 1 && random < 100
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life >=401
triggerall = power >= 2000
trigger1 = ctrl
value = 2400


[State -1, AI Super Level 2]
type = changestate
triggerall = var(59) = 1 && random < 050
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
triggerall = life >= 401
triggerall = power >= 2000
trigger1 = ctrl
value = 2080


[State -1, AI Super Level 2]
type = changestate
triggerall = var(59) = 1 && random < 020
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = p2bodydist x = [0,150]
triggerall = life <= 401
triggerall = power >= 2000
trigger1 = ctrl
value = 2080

[State -1, AI Super Level 2]
type = changestate
triggerall = var(59) = 1 && random < 050
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life >= 401
triggerall = power >= 2000
trigger1 = ctrl
value = 2300

[State -1, AI Super Level 2]
type = changestate
triggerall = var(59) = 1 && random < 050
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <= 400
triggerall = power >= 2000
trigger1 = ctrl
value = 2300


[State -1, AI Super Level 2]
type = changestate
triggerall = var(59) = 1 && random < 020
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <=400
triggerall = power >= 2000
trigger1 = ctrl
value = 2400


[State -1, AI Super Level 2]
type = changestate
triggerall = var(59) = 1 && random < 100
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life >=401
triggerall = power >= 2000
trigger1 = ctrl
value = 2050

[State -1, AI Super Level 2]
type = changestate
triggerall = var(59) = 1 && random < 020
triggerall = p2bodydist x = [0,300]
triggerall = p2bodydist y = [0,0]
triggerall = life <=400
triggerall = power >= 2000
trigger1 = ctrl
value = 2050

[State -1, AI Super Level 3]
type = changestate
triggerall = var(59) = 1 && random < 250
triggerall = p2bodydist x = [0,60]
triggerall = p2bodydist y = [0,0]
triggerall = power >= 2999
trigger1 = 1
value = 2070

[State -1, AI Super Level 3]
type = changestate
triggerall = var(59) = 1 && random < 250
triggerall = p2bodydist x = [0,60]
triggerall = pos y <= ifelse(vel y < 0,-15,0)
triggerall = power >= 2999
trigger1 = 1
value = 2070

[State -1, AI Super Level 3]
type = changestate
triggerall = var(59) = 1 && random < 250
triggerall = p2bodydist x = [61,199]
triggerall = p2bodydist y = [0,0]
triggerall = power >= 2999
trigger1 = 1
value = 2200

[State -1, AI Super Level 3]
type = changestate
triggerall = numhelper(9100) = 1
triggerall = var(59) = 1 && random < 250
triggerall = p2bodydist x = [61,300]
triggerall = p2bodydist y = [0,0]
triggerall = power >= 2999
trigger1 = 1
value = 10000

[State -1, AI Super Level 3+]
type = changestate
triggerall = var(55) = 0
triggerall = var(59) = 1 && random < 250
triggerall = p2bodydist x = [0,100]
triggerall = p2bodydist y = [0,0]
triggerall = power >= 2999
trigger1 = 1
value = 2600

[State -1, AI Omn-Psych Mode Level 3+]
type = changestate
triggerall = numhelper(9100) = 0
triggerall = var(59) = 1 && random < 250
triggerall = life >=251
triggerall = life <=500
triggerall = power >= 2999
trigger1 = 1
value = 990

[State -1, AI Omni-Psych Mode Level 3+]
type = changestate
triggerall = numhelper(9100) = 0
triggerall = var(59) = 1 && random < 999
triggerall = power >= 2999
triggerall = life <= 250
trigger1 = 1
value = 990

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life <= 100
trigger1 = 1
value = 0.1

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 101
triggerall = life <= 200
trigger1 = 1
value = 0.2

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 201
triggerall = life <= 300
trigger1 = 1
value = 0.3

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 301
triggerall = life <= 400
trigger1 = 1
value = 0.4

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 401
triggerall = life <= 500
trigger1 = 1
value = 0.5

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 501
triggerall = life <= 600
trigger1 = 1
value = 0.6

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 601
triggerall = life <= 700
trigger1 = 1
value = 0.7

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 701
triggerall = life <= 800
trigger1 = 1
value = 0.8

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 801
triggerall = life <= 900
trigger1 = 1
value = 0.9

[State -1, Omni-Psych Super Dizzy {LE} Defence System]
type = DefenceMulSet
triggerall = life >= 901
triggerall = life <= 1000
trigger1 = 1
value = 1.0


[State -1, Omni-Psych Defence Helper]
type = NotHitBy
triggerall = numhelper(9100) = 1
trigger1 = stateno = 5000
trigger2 = stateno = 5001
trigger3 = stateno = 5002
trigger4 = stateno = 5010
trigger5 = stateno = 5011
trigger6 = stateno = 5012
trigger7 = stateno = 5020
trigger8 = stateno = 5021
trigger9 = stateno = 5022
trigger10 = stateno = 9000
trigger11 = Stateno = 5030
trigger12 = Stateno = 5050
trigger13 = Stateno = 5110
value = SCA
time = 6

[State -1, Omni-Psych Defence Helper]
type = NotHitBy
triggerall = numhelper(9100) = 1
trigger1 = Stateno = 5030
trigger2 = Stateno = 5050
trigger3 = Stateno = 5110
value = SCA
time = -1

[State -1, Omni-Psych Defence Helper]
type = NotHitBy
triggerall = numhelper(9100) = 1
trigger1 = Stateno = 0
trigger2 = Stateno = 11
trigger3 = Stateno = 1070
value = SCA
time = 0


[State -1, Omni-Psych Defence Helper]
type = Pause
triggerall = numhelper(9100) = 1
trigger1 = 1
movetime = 2
time = 0

[State -1, Omni-Psych Defence Helper]
type = SuperPause
triggerall = numhelper(9100) = 1
trigger1 = 1
movetime = 2
time = 0
darken = 0
anim = -1
p2defmul = 1

[State -1, Die Omni's DIE!]
type= attackMulSet
trigger1 = enemy,name = "Dizzy"
trigger2 = enemy,authorname = "nana/Seven"
trigger3 = enemy,name = "Omni-Psych justice"
trigger4 = enemy,authorname = "nana"
trigger5 = enemy,name = "Omni-Psych Super Dizzy Lv1"
trigger6 = enemy,name = "Omni-Psych Super Dizzy Lv2"
trigger7 = enemy,name = "Omni-Psych Super Dizzy Lv 3"
trigger8 = enemy,name = "Omni-Psych Chipp"
trigger9 = enemy,name = "Omni-Psych Jam"
trigger10 = enemy,name = "Super Dizzy"
value= 100.0

[State -1, Die Omni's DIE!]
type= defenceMulSet
trigger1 = enemy,name = "Dizzy"
trigger2 = enemy,authorname = "nana/Seven"
trigger3 = enemy,name = "Omni-Psych justice"
trigger4 = enemy,authorname = "nana"
trigger5 = enemy,name = "Omni-Psych Super Dizzy Lv1"
trigger6 = enemy,name = "Omni-Psych Super Dizzy Lv2"
trigger7 = enemy,name = "Omni-Psych Super Dizzy Lv 3"
trigger8 = enemy,name = "Omni-Psych Chipp"
trigger9 = enemy,name = "Omni-Psych Jam"
trigger10 = enemy,name = "Super Dizzy"
value= -1.0

[State -1, Die Omni's DIE!]
type= lifeSet
trigger1 = enemy,name = "Dizzy"
trigger2 = enemy,authorname = "nana/Seven"
trigger3 = enemy,name = "Omni-Psych justice"
trigger4 = enemy,authorname = "nana"
trigger5 = enemy,name = "Omni-Psych Super Dizzy Lv1"
trigger6 = enemy,name = "Omni-Psych Super Dizzy Lv2"
trigger7 = enemy,name = "Omni-Psych Super Dizzy Lv 3"
trigger8 = enemy,name = "Omni-Psych Chipp"
trigger9 = enemy,name = "Omni-Psych Jam"
trigger10 = enemy,name = "Super Dizzy"
value= 10000

[State -1, Die Omni's DIE!]
type= targetlifeadd
trigger1 = enemy,name = "Dizzy"
trigger2 = enemy,authorname = "nana/Seven"
trigger3 = enemy,name = "Omni-Psych justice"
trigger4 = enemy,authorname = "nana"
trigger5 = enemy,name = "Omni-Psych Super Dizzy Lv1"
trigger6 = enemy,name = "Omni-Psych Super Dizzy Lv2"
trigger7 = enemy,name = "Omni-Psych Super Dizzy Lv 3"
trigger8 = enemy,name = "Omni-Psych Chipp"
trigger9 = enemy,name = "Omni-Psych Jam"
trigger10 = enemy,name = "Super Dizzy"
value= -10000




;===============================================================================
;=============================<CPU Based Info>==================================
;===============================================================================
;===============================================================================
    ;-| ai |-------------------------------------------------------------------
[Command]
name = "cpu01"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,x,x,x,x,x
time = -1

[Command]
name = "cpu02"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,y,y,y,x,x
time = -1

[Command]
name = "cpu03"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,z,z,z,x,x
time = -1

[Command]
name = "cpu04"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,x,x
time = -1

[Command]
name = "cpu05"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,b,b,b,x,x
time = -1

[Command]
name = "cpu06"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,c,c,c,x,x
time = -1

[Command]
name = "cpu07"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,s,s,s,x,x
time = -1

[Command]
name = "cpu08"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,a,x,x
time = -1

[Command]
name = "cpu09"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,b,x,x
time = -1

[Command]
name = "cpu10"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,c,x,x
time = -1

[Command]
name = "cpu11"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,x,x,x
time = -1

[Command]
name = "cpu12"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,y,x,x
time = -1

[Command]
name = "cpu13"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,z,x,x
time = -1

[Command]
name = "cpu14"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,a,x,x
time = -1

[Command]
name = "cpu15"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,b,x,x
time = -1

[Command]
name = "cpu16"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,c,x,x
time = -1

[Command]
name = "cpu17"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,x,x,x
time = -1

[Command]
name = "cpu18"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,y,x,x
time = -1

[Command]
name = "cpu19"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,z,x,x
time = -1

[Command]
name = "cpu20"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,c,a,x,x
time = -1

;---------------------------------------------------------------------------

;----------------------------------------------------------------------------


[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,x,x,x,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,y,y,y,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,z,z,z,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,b,b,b,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,c,c,c,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,s,s,s,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,a,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,b,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,c,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,x,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,y,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,a,z,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,a,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,b,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,c,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,x,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,y,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,b,z,x,x
time = -1

[Command]
name = "AI"
command = ~U+a+b+c+x+y+z+s,DF, F, D,DF, F,a,a,c,a,x,x
time = -1

[State -2]
type = NotHitBy
trigger1 = stateno = 5000
trigger2 = stateno = 5001
trigger3 = stateno = 5002
trigger4 = stateno = 5010
trigger5 = stateno = 5011
trigger6 = stateno = 5012
trigger7 = stateno = 5020
trigger8 = stateno = 5021
trigger9 = stateno = 5022
trigger10 = stateno = 9000
value = SCA
time = 6

[State -2]
type = NotHitBy
trigger1 = Stateno = 5030
trigger2 = Stateno = 5050
trigger3 = Stateno = 5110
value = SCA
time = -1

[State -2]
type = NotHitBy
trigger1 = Stateno = 0
trigger2 = Stateno = 11
value = SCA
time = 0

[State -2]
type=changestate
triggerall = var(59) = 1
trigger1= stateno=5050
trigger1= time && alive
value=5040
ctrl=1

[State -2, AI Super Meter Advantage |CPU Based Only| ]
type = poweradd
triggerall = var(59) = 1
triggerall = life <= 400
trigger1 = GetHitVar(damage)
value = 250

[State -2, AI Super Meter Advantage |CPU Based Only| ]
type = poweradd
triggerall = var(59) = 1
triggerall = life >= 401
triggerall = life <= 600
trigger1 = GetHitVar(damage)
value = 175

[State -2, AI Super Meter Advantage |CPU Based Only| ]
type = poweradd
triggerall = var(59) = 1
triggerall = life >= 601
trigger1 = GetHitVar(damage)
value = 125

[State -2, AI Omni-Psych Super Meter Advantage |CPU Based Only| ]
type = poweradd
triggerall = var(59) = 1
triggerall = numhelper(9100) = 1
trigger1 = GetHitVar(damage)
value = 250

[State -2, AI Omni-Psych Super Meter Advantage |CPU Based Only| ]
type=poweradd
triggerall=anim=740&&power<powermax
triggerall = numhelper(9100) = 0
triggerall = life >= 601
trigger1 = 1
value=100

[State -2, AI Omni-Psych Super Meter Advantage |CPU Based Only| ]
type=poweradd
triggerall=anim=740&&power<powermax
triggerall = numhelper(9100) = 0
triggerall = life >= 401
triggerall = life <= 600
triggerall= var(59) =1
trigger1 = 1
value=175

[State -2, AI Omni-Psych Super Meter Advantage |CPU Based Only| ]
type=poweradd
triggerall=anim=740&&power<powermax
triggerall = numhelper(9100) = 0
triggerall = life <=400
triggerall= var(59) =1
trigger1 = 1
value=250

[State -2, AI Omni-Psych Super Meter Advantage |CPU Based Only| ]
type=poweradd
triggerall=anim=740&&power<powermax
triggerall = numhelper(9100) = 1
triggerall= var(59) =1
trigger1 = 1
value=270

[state -2, AI Omni-Psych  Advantage |CPU Based Only| ]
type = lifeadd
triggerall = numhelper(9100) = 1
triggerall= var(59) = 1
trigger1 = life <= 500
trigger1 = 1
trigger1 = timemod = 2,0
value = 2

[State -2, AI Omni-Psych  Advantage |CPU Based Only| ]
type=changestate
triggerall = numhelper(9100) = 1
trigger1= movetype=H && alive
trigger1= !hitshakeover && time=1
trigger1= gethitvar(hitcount)>1 && random<(50*gethitvar(hitcount))
value=970


[State -2, AI Omni-Psych  Advantage |CPU Based Only| ]
type = HitOverride
triggerall = numhelper(9100) = 1
trigger1 = 1
time = 1
attr = SCA, NA, SA, HA, NP, SP, HP, NT, ST, HT, AA, AT, AP
reversal.attr = SCA, NA, SA, HA, NP, SP, HP, NT, ST, HT, AA, AT, AP
slot = 0
stateno = 9000






